.market-holder{
  position: relative;
  float: left;
  width: 100%;
  min-height: 100px;
}

.market-menu-wrapper{
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: auto;
  height: 70px;
  padding-top: 20px;
}

.market-menu-each{
  position: relative;
  float: left;
  width: 70px;
  height: 70px;
  cursor: pointer;
  margin: 0 10px 0 10px;
  padding: 0 12px 0 12px;
}

.market-menu-each img{
  height: 64px;
  margin: 3px 0 0 3px;
}

.market-selected{
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 0 2px 0 #666666;
  border-radius: 12px;
}

.market-unselected{
  color: #555;
}

.market-unselected:before{
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  bottom: 0;
  left: 0;
  visibility: hidden;
  border-radius: 5px;
  transform: scaleX(0);
  transition: 0.2s linear;
}

.market-menu-each:nth-of-type(1):before{
  background: #944E06;
}

.market-menu-each:nth-of-type(2):before{
  background: #b5cad2;
}

.market-menu-each:nth-of-type(3):before{
  background: #f5d063;
}

.market-menu-each:nth-of-type(4):before{
  background: #666666;
}

.market-unselected:after{
  content: "";
  position: absolute;
  width: 100%;
  height: 7px;
  border: 1px solid #000;
  bottom: 0;
  left: 0;
  background: #fff;
  border-radius: 5px;
  opacity: 0;
  transform: scalex(0);
  transition: .5s;
}

.market-unselected:hover:before, .market-unselected:focus:before{
  visibility: visible;
  transform: scaleX(1);
}

.marketYourCash{
  position: relative;
  float: left;
  width: calc(100% - 15px);
  /* max-width: 478px; */ 
  height: auto;
  /* border: 1px solid #bbb; */
  margin: 5px 0 20px 5px;
  background-color: #fff;
  box-shadow: 0 0 2px 0 #666666;
  border-radius: 12px;
  /* background-color: #9eb287; */
  /* border-bottom: 1px solid #bbb; */
  /* padding-bottom: 20px; */
}

.marketYourCashEach{
  position: relative;
  float: left;
  width: 100%;
  height: auto;
  /* background-color: #fff; */
  margin: 0;
  border-radius: 12px;
  /* box-shadow: 0 0 2px 0 #666666; */
}

.marketYourCashEach h2{
  position: relative;
  float: left;
  width: 100px;
  font-size: 100%;
  font-weight: normal;
  text-align: left;
  margin: 0 0 0 5px;
  height: 40px;
  line-height: 40px;
  /* background-color: #e6dfd3; */
  /* border-bottom: 1px solid #bbb; */
}

.marketYourCashEach img{
  position: relative;
  float: left;
  width: 32px;
  height: 32px;
  margin: 4px 0 0 0;
  /* border-right: 1px solid #bbb; */
}

.marketYourCashEach p{
  position: relative;
  display: block;
  float: left;
  width: 100px;
  text-align: left;
  line-height: 40px;
  font-size: 100%;
  margin: 0 0 0 20px;
  padding: 0;
}

.market-holder-each{
  display: none;
  position: relative;
  float: left;
  /* margin-top: 25px; */
  width: 100%;
  height: auto;
  margin: 0;
}

.marketTitle{
  position: relative;
  float: left;
  width: calc(100% - 2px);
  height: 40px;
  line-height: 40px;
  text-align: center;
  border: 1px solid #bbb;
  border-bottom: none;
  background-color: #fff;
  font-size: 105%;
}

.marketEach{
  position: relative;
  float: left;
  width: 100%;
  height: auto;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 2px 0 #666666;
}

.marketEach a{
  position: relative;
  display: block;
  width: calc(100% - 2px);
  height: 100%;
  margin: 0;
  padding: 0;
  color: #222;
  transition: box-shadow 0.15s linear;
  border: 1px solid #bbb;
}

.marketEach a:hover{
  box-shadow: transition;
  border: 1px solid #100d09;
  box-shadow: 0 0 3px 1px #bbb;
}

.marketEach img{
  position: relative;
  float: left;
  padding: 5px;
  margin: 0;
  width: 90px;
  height: 90px;
  border-right: 1px solid #bbb;
}

.marketEachMiniHolder{
  position: relative;
  float: left;
  width: 377px;
  height: 100%;
}

.marketEachHeaderHolder{
  position: relative;
  float: left;
  width: 100%;
  height: 50px;
  background-image: url(../img/backLightGrey.png);
  background-color: #2c415d;
  border-radius: 12px 12px 0 0;
}

.marketEachHeader{
  position: relative;
  float: left;
  height: 50px;
  width: 50%;
  line-height: 50px;
  text-align: center;
  font-size: 100%;
  color: #fff;
  /* background-color: #e6dfd3; */
  /* border-bottom: 1px solid #bbb; */
}

.marketEachHeader:first-child{
  /* border-right: 1px solid #bbb; */
  /* background-color: #9eb287; */
}

.marketEachHeader:nth-child(2){
  /* padding-right: 1px; */
}

.marketEachContentHolder{
  position: relative;
  float: left;
  width: 100%;
  height: auto;
}

.marketEachContent{
  position: relative;
  float: left;
  width: calc(50% - 5px);
  height: auto;
  line-height: 60px;
  font-size: 120%;
  text-align: center;
  padding-bottom: 10px;
}

.marketEachContent:nth-child(1){
  /* border-right: 1px solid #bbb; */
  margin-left: 10px;
}

.marketEachContent img{
  position: relative;
  float: left;
  width: 64px;
  height: 64px;
  border: none;
}

.marketEachContent p{
  margin: 0;
  padding: 0;
}

.marketEachContentValue{
  position: relative;
  float: left;
  width: 100%;
  height: 50px;
  margin: 10px 10px 0 0;
  text-align: center;
  line-height: 50px;
  cursor: pointer;
  border-radius: 12px;
  /* transition: 0.2s ease-in-out; */
}

.marketEachContentValue:hover{
  box-shadow: 0 0 2px 0 #100d09;
  border-radius: 12px;
  background-color: #fff;
}

.valueActiveD{
  background-color: #b5cad2;
  box-shadow: 0 0 2px 0 #000;
  border-radius: 12px;
}

.valueActiveD:hover{
  background-color: #b5cad2;
}

.valueActiveG{
  background-color: #f5d063;
  /* border: 1px solid #100d09; */
  box-shadow: 0 0 2px 0 #100d09;
  border-radius: 12px;
}

.valueActiveG:hover{
  background-color: #f5d063;
}

.marketEachContentMiniHolder{
  position: relative;
  margin: 80px auto;
  width: 174px;
}

.marketButtonBuyD, .marketButtonBuyG{
  position: relative;
  float: left;
  width: calc(100% - 20px);
  height: 70px;
  border: none;
  border-radius: 12px;
  margin: 10px 0 0 0;
  background-color: #fff;
  cursor: pointer;
  font-family: 'Lora', serif;
  font-size: 100%;
  text-align: left;
  line-height: 70px;
  padding: 0 5px 0 5px;
  /* box-shadow: 1px 1px 2px 0 #666666; */

  transition: 0.2s ease-in-out;
  border-radius: 12px;
  box-shadow: 0 0 1px 0px #333;
  border-left: 5px solid #6D7A8B;
  border-right: 5px solid #6D7A8B;
  border-top: 1px solid #6D7A8B;
  border-bottom: 1px solid #6D7A8B;
}

.popOutClose{
  position: relative;
  float: left;
  width: calc(100% - 20px);
  height: 70px;
  border: none;
  border-radius: 12px;
  margin: 10px 0 10px 0;
  background-color: #fff;
  cursor: pointer;
  font-family: 'Lora', serif;
  font-size: 100%;
  text-align: left;
  line-height: 70px;
  padding: 0 5px 0 5px;
  /* box-shadow: 1px 1px 2px 0 #666666; */

  transition: 0.2s ease-in-out;
  border-radius: 12px;
}

.popOutCloseYes, .popOutCloseNo{
  position: relative;
  float: left;
  width: calc(100% - 20px);
  height: 70px;
  border: none;
  border-radius: 12px;
  margin: 10px 0 10px 5px;
  cursor: pointer;
  font-family: 'Lora', serif;
  font-size: 100%;
}

.popOutCloseYes a, .popOutCloseNo a{
  display: block;
  position: relative;
  float: left;
  width: 100%;
  height: 100%;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 0 1px 0px #333;
  border-left: 5px solid #6D7A8B;
  border-right: 5px solid #6D7A8B;
  border-top: 1px solid #6D7A8B;
  border-bottom: 1px solid #6D7A8B;
  transition: 0.2s ease-in-out;
  text-align: left;
  line-height: 70px;
}

.marketButtonBuyD img, .marketButtonBuyG img, .popOutClose img, .popOutCloseYes img, .popOutCloseNo img{
  position: relative;
  float: left;
  margin-right: 5px;
  height: 100%;
}

.marketButtonBuyD:hover, .marketButtonBuyG:hover{
  border-left: 15px solid #2c415d;
  border-right: 15px solid #2c415d;
  border-top: 1px solid #2c415d;
  border-bottom: 1px solid #2c415d;
  width: calc(100% - 40px);
}

.popOutCloseYes a:hover, .popOutCloseNo a:hover{
  border-left: 15px solid #2c415d;
  border-right: 15px solid #2c415d;
  border-top: 1px solid #2c415d;
  border-bottom: 1px solid #2c415d;
  width: calc(100% - 20px);
}

.marketEach p{
  position: relative;
  float: left;
  width: 100px;
  height: 100%;
  line-height: 135px;
}

.popOutHolder{
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.popOut{
  position: absolute;
  z-index: 99999;
  width: 470px;
  height: auto;
  /* border: 1px solid #bbb; */
  box-shadow: 0 0 2px 0 #666666;
  top: 150px;
  left: 50%;
  margin: 0 0 0 -239px;
  background-color: rgba(255, 255, 255, 0.2);
  padding-bottom: 20px;
  border-radius: 12px;
  padding: 5px;
}

.popOutInner{
  position: relative;
  float: left;
  width: 100%;
  height: 100%;
  background-color: #eee;
  border-radius: 12px;
  box-shadow: 1px 1px 2px 0 #666666;
}

.pop-out-title-wrapper{
  position: relative;
  float: left;
  width: 100%;
  height: auto;
  /* border-bottom: 1px solid #bbb; */
  border-radius: 12px 12px 0 0;
  background-image: url(../img/backLightGrey.png);
  background-color: #2c415d;
}

.pop-out-value-wrapper{
  position: relative;
  float: left;
  width: 50%; 
}

.popOutTitle{
  position: relative;
  float: left;
  width: 50%;
  height: 50px;
  line-height: 50px;
  text-align: center;
  font-size: 110%;
  border-bottom: 1px solid #bbb;
  margin: 0;
  color: #fff;
}

.popOutEach img{
  position: relative;
  float: left;
  width: 100px;
  height: 100px;
  margin-left: 70px;
  margin-top: 10px;
}

.popOutEach p{
  position: relative;
  float: left;
  width: 100%;
  text-align: center;
  font-size: 140%;
}

.popOutClose{
  position: relative;
  float: left;
  width: 450px;
  height: 50px;
  margin: 15px 0 0 8px;
  text-align: center;
  line-height: 50px;
  /* border: 1px solid #bbb; */
  cursor: pointer;
  border-radius: 12px;

  transition: 0.2s ease-in-out; 
}

.popOutClose:nth-of-type(4){
  box-shadow: 0 0 2px 0 #666666;
}

.popOutClose a{
  position: relative;
  float: left;
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #222;
}

/* .marketButtonBuyD, .marketButtonBuyG{
  position: relative;
  float: left;
  border-top: 1px solid #bbb;
  width: 100%;
  height: 40px;
  text-align: center;
  line-height: 40px;
  /* background-color: #e6dfd3; 
  background-color: #2c415d;
  color: #eee;
  cursor: pointer;
} */

/* paypal */

.marketPaypalHolder{
  position: relative;
  float: left;
  width: 100%;
  /* margin-bottom: 20px; */
}

.marketPaypalEach{
  position: relative;
  float: left;
  /* width: 460px; */
  width: calc(50% - 5px);
  height: 170px;
  /* border: 1px solid #bbb; */
  box-shadow: 0 0 2px 0 #666666;
  background-color: #fff;
  margin-bottom: 10px;
  border-radius: 12px;
  margin-right: 0;
}

.marketPaypalEach:nth-child(odd){
  margin-right: 9px;
}

.marketPaypalEach:nth-of-type(3), .marketPaypalEach:nth-of-type(4){
  margin-bottom: 0;
}

@media screen and (min-width: 640px){
  .marketPaypalEach{
    width: calc(33.33% - 7px);
    margin-right: 10px;
  }

  .marketPaypalEach:nth-of-type(3){
    margin-right: 0;
  }

  .marketPaypalEach:last-of-type{
    margin-bottom: 0;
  }
}

@media screen and (min-width: 860px){
  .marketPaypalEach{
    width: calc(25% - 8px);
    margin-bottom: 0;
  }

  .marketPaypalEach:nth-child(odd){
    margin-right: 10px;
  }

  .marketPaypalEach:last-of-type{
    margin-right: 0;
  }
  
}


.marketPaypalEach h3{
  position: absolute;
  top: 0;
  left: 75px;
  width: 135px;
  /* border-bottom: 1px solid #bbb; */
  font-weight: normal;
  font-size: 110%;
  text-align: left;
  color: #2c415d;
}

.marketPaypalEach h4{
  position: absolute;
  top: 30px;
  left: 75px;
  width: 140px;
  font-weight: normal;
  font-size: 90%;
  text-align: left;
}

.marketPaypalEach img{
  position: absolute;
  width: 64px;
  height: 64px;
  top: 15px;
  left: 5px;
}

.marketPaypalEach p{
  position: absolute;
  top: 80px;
  left: 15px;
  font-size: 120%;
  font-weight: normal;
  line-height: 30px;
  height: 30px;
  margin: 0;
}

.marketPaypalEach form{
  position: absolute;
  bottom: 5px;
  left: 5px;
  border: none;
  width: calc(100% - 10px);
}

.marketPaypalEach input{
  margin: 0;
  border: none;
  width: 100%;
  height: 50px;
  margin: 0;
  padding: 0;
}


.history-purchases-wrapper{
  position: relative;
  float: left;
  width: 100%;
  margin: 0;
  background-color: #fff;
  box-shadow: 0 1px 2px 0 #666666;
  border-radius: 12px;
  height: auto;
}

/*---------------------------------------------------------------------*/

.userPurchasesHolder{
  position: relative;
  float: left;
  width: 100%;
  height: auto;
  border-radius: 12px 12px 0 0;
}

.userPurchasesHeader{
  position: relative;
  float: left;
  width: 100%;
  /* border-bottom: 1px solid #bbb; */
  height: 50px;
  background-image: url(../img/backLightGrey.png);
  background-color: #2c415d;
  border-radius: 12px 12px 0 0;
}

.userPurchasesHeader h2{
  position: relative;
  float: left;
  text-align: center;
  font-weight: normal;
  font-size: 100%;
  line-height: 50px;
  /* border-left: 1px solid #bbb; */
  height: 50px;
  margin: 0;
  color: #fff;
}

.userPurchasesHeader h2:first-child{
  border-left: none;
  padding-left: 1px;
  width: 30px;
}

.userPurchasesHeader h2:nth-child(2){
  width: 50px;
}

.userPurchasesHeader h2:nth-child(3){
  width: 79px;
}

.userPurchasesHeader h2:nth-child(4){
  width: 80px;
}

.userPurchasesHeader h2:nth-child(5){
  width: 54px;
}

.userPurchasesHeader h2:nth-child(6){
  width: 156px;
  text-align: center;
  padding-left: 5px;
}

.userPurchasesContent{
  position: relative;
  float: left;
  width: 100%;
  height: 40px;
}

.userPurchasesContent:last-of-type{
  border-radius: 0 0 12px 12px;
}

.userPurchasesContent:nth-of-type(odd){
  background-color: #eee;
}

.userPurchasesContent p{
  text-align: center;
  line-height: 40px;
  /* border-left: 1px solid #bbb; */
  margin: 0;
  padding: 0;
  float: left;
}

.userPurchasesContent img{
  position: relative;
  float: left;
  width: 40px;
  height: 40px;
}

.userPurchasesContent img:nth-child(odd){
  margin-left: 5px;
}

.evenIMG img{
  padding-left: 15px;
}

.userPurchasesContent p:first-child{
  border-left: none;
  padding-left: 1px;
  width: 30px;
}

.userPurchasesContent p:nth-child(2){
  width: 50px;
}

.userPurchasesContent p:nth-child(3){
  width: 74px;
  text-align: center;
  padding-right: 5px;
}

.userPurchasesContent p:nth-child(4){
  width: 80px;
}

.userPurchasesContent p:nth-child(5){
  width: 49px;
  text-align: center;
  padding-right: 5px;
}

.userPurchasesContent p:nth-child(6){
  width: 156px;
  text-align: center;
  padding-left: 5px;
}

/* */

.your-rank-wrapper {
  position: relative;
  float: left;
  width: 100%;
  height: auto;
  margin: 5px 0 10px 0;
  background-color: #fff;
  box-shadow: 0 0 2px 0 #666666;
  border-radius: 12px;
}

.your-rank-wrapper div:first-of-type {
  margin-right: 10px;
}

.your-rank-wrapper div {
  position: relative;
  float: left;
  width: 100%;
  margin: 0;
  height: auto;
}

.your-rank-wrapper h4 {
  position: relative;
  float: left;
  height: 40px;
  width: 200px;
  margin: 0;
  text-align: left;
  font-weight: normal;
  font-size: 100%;
  line-height: 40px;
}

.your-rank-wrapper h4 img {
  position: relative;
  float: left;
  height: 32px;
  margin-top: 4px;
}

.your-rank-wrapper p {
  position: relative;
  float: left;
  height: 40px;
  width: calc(100% - 200px);
  margin: 0;
  text-align: left;
  font-weight: normal;
  line-height: 40px;
}